package com.ruoyi.vehicle.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 线路基本信息对象 tb_route
 * 
 * @author ruoyi
 * @date 2025-10-25
 */
public class TbRoute extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 线路ID */
    private Long routeId;

    /** 线路名称 */
    @Excel(name = "线路名称")
    private String routeName;

    /** 起点 */
    @Excel(name = "起点")
    private String startPoint;

    /** 终点 */
    @Excel(name = "终点")
    private String endPoint;

    /** 状态;0：启用；1：停用； */
    @Excel(name = "状态;0：启用；1：停用；")
    private Long status;

    public void setRouteId(Long routeId)
    {
        this.routeId = routeId;
    }

    public Long getRouteId()
    {
        return routeId;
    }
    public void setRouteName(String routeName)
    {
        this.routeName = routeName;
    }

    public String getRouteName()
    {
        return routeName;
    }
    public void setStartPoint(String startPoint)
    {
        this.startPoint = startPoint;
    }

    public String getStartPoint()
    {
        return startPoint;
    }
    public void setEndPoint(String endPoint)
    {
        this.endPoint = endPoint;
    }

    public String getEndPoint()
    {
        return endPoint;
    }
    public void setStatus(Long status)
    {
        this.status = status;
    }

    public Long getStatus()
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("routeId", getRouteId())
            .append("routeName", getRouteName())
            .append("startPoint", getStartPoint())
            .append("endPoint", getEndPoint())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}